package com.future.wxapp.pedometer.service.impl;

import com.future.wxapp.common.service.impl.BaseService;
import com.future.wxapp.pedometer.dao.ChickenInfoDao;
import com.future.wxapp.pedometer.domain.ChickenInfo;
import com.future.wxapp.pedometer.service.ChickenInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/***
 * @author li
 * @date 2020-1-28
 */
@Service
public class ChickenInfoServiceImpl extends BaseService<ChickenInfo> implements ChickenInfoService {
    @Autowired
    private ChickenInfoDao chickenInfoDao;

    @Override
    public ChickenInfo query(Integer id){
        return chickenInfoDao.selectByChickenId(id);
    }
}
